package com.mspbots.sync.model;

import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.sync.callback.model.CallbackAction;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * com.mspbots.sync.model.TicketOnly
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/11/22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TicketOnly {

    private Long id;
    private Long cwId;
    private Integer tenantId;
    private Integer boardId;
    private Integer statusId;
    private String updatedBy;
    private Integer owner;
    private Integer priorityId;
    private Integer companyId;
    private Integer contactId;
    private String status;
    private String summary;
    private String resources;
    private String contactName;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private Double billAmount;
    private String contactTitle;
    private String priorityName;
    private String companyName;
    private JsonNode auditor;
    private JsonNode teamRoles;
    private JsonNode configurations;

    private String recordType;
    private String subBillingMethod;
    private String locationName;

    private JsonNode extend;

    private CallbackAction action;
}
